#ifndef COMMON_H
#define COMMON_H

#include "sensor.h"
#include "shared_ptr.h"
#include "mypair.h"
#include "rational.h"

typedef myPair<Rational, int> LatitudeKeyPair;
typedef shared_ptr<Sensor> SensorPtr;

class InvalidInputExcpetion : public std::exception {};
class FailureException : public std::exception {};

bool operator> (const LatitudeKeyPair& key1, const LatitudeKeyPair& key2);
bool operator== (const LatitudeKeyPair& key1, const LatitudeKeyPair& key2);

#endif // COMMON_H
